<template>
  <!-- top nav-link -->
  <div class="nav-link">
    当前位置:
    <label v-for="(item, index) in navList" :key="index">
      <router-link :to="item.path">{{item.text}}</router-link>
      <i class="iconfont icon-arrowRight-fill"></i>
    </label>
  </div>
</template>

<script>
export default {
  props: ["navList"],
};
</script>


<style lang="scss" scoped>
.nav-link {
  text-align: left;
  border-bottom: 1px solid #dee2e6;
}
.iconfont {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}
</style>
